package com.tarena.csmall.front.web.service;

import cn.tedu.mall.pojo.product.vo.SpuDetailStandardVO;
import com.tarena.csmall.front.web.mapper.SpuDetailMapper;
import com.tarena.csmall.front.web.repository.SpuDetailRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SpuDetailService {
    @Autowired
    private SpuDetailRepository spuDetailRepository;
    public SpuDetailStandardVO getSpuDetail(Long id) {
        return spuDetailRepository.getSpuDetail(id);
    }
}
